require 'network/telnet_handler'


module NetworkHandler
  attr_accessor :account
  
  def post_init
    @manager = TelnetHandler.new(self)
    send_data "Welcome to AwesomeMud\r\nHit 'Enter' to continue...\r\n"
  end
  
  def receive_data(data)
    @manager.handle data
  end
  
  def send_line(data)
    send_data "#{data}\r\n"
  end
  
  def unbind
    
  end
  
end
